package com.chen.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.entity.Orders;
import com.chen.entity.ShoppingCart;

import java.text.ParseException;
import java.util.List;

public interface OrdersService extends IService <Orders>{
    Page<Orders> findPage(int page, int pageSize,Long number,String beginTime, String endTime) throws ParseException;

    Page<Orders> userPage(int page, int pageSize, Long userId);

    void submit(Orders orders);

    List<ShoppingCart> again(Orders ordes);
}

